/**
 * 首页接口
 */

import { basicIp, newHttpService } from "./api/http";


interface ILoginApiParams {
  username: string;
  password: string;
}
export  const LoginApi = (params: ILoginApiParams) => {
    const url = basicIp + "/login";
    return newHttpService.postData(url, params);
}